<%--== Handlers ==--%> <%--see_contract_status_detail Opening Initialization directive @1-A0E75F14--%><%!

// //Workaround for JRun 3.1 @1-F81417CB

//CONTRACT_PROJECT_CONTRACT Grid Handler Head @2-80EFB638
    public class see_contract_status_detailCONTRACT_PROJECT_CONTRACTGridHandler implements GridListener, GridDataObjectListener {
//End CONTRACT_PROJECT_CONTRACT Grid Handler Head

//CONTRACT_PROJECT_CONTRACT BeforeShow Method Head @2-46046458
        public void beforeShow(Event e) {
//End CONTRACT_PROJECT_CONTRACT BeforeShow Method Head

//CONTRACT_PROJECT_CONTRACT BeforeShow Method Tail @2-FCB6E20C
        }
//End CONTRACT_PROJECT_CONTRACT BeforeShow Method Tail

//CONTRACT_PROJECT_CONTRACT BeforeShowRow Method Head @2-BDFD38FC
        public void beforeShowRow(Event e) {
//End CONTRACT_PROJECT_CONTRACT BeforeShowRow Method Head

//CONTRACT_PROJECT_CONTRACT BeforeShowRow Method Tail @2-FCB6E20C
        }
//End CONTRACT_PROJECT_CONTRACT BeforeShowRow Method Tail

//CONTRACT_PROJECT_CONTRACT BeforeSelect Method Head @2-E5EC9AD3
        public void beforeSelect(Event e) {
//End CONTRACT_PROJECT_CONTRACT BeforeSelect Method Head

//CONTRACT_PROJECT_CONTRACT BeforeSelect Method Tail @2-FCB6E20C
        }
//End CONTRACT_PROJECT_CONTRACT BeforeSelect Method Tail

//CONTRACT_PROJECT_CONTRACT BeforeBuildSelect Method Head @2-3041BA14
        public void beforeBuildSelect(DataObjectEvent e) {
//End CONTRACT_PROJECT_CONTRACT BeforeBuildSelect Method Head

//CONTRACT_PROJECT_CONTRACT Default Values for Select Query (SQL) @2-6852818F
            try {
                ((SqlParameter)e.getParameter("CUSTOMER_ID")).setDefaultValue(-1);
            } catch(java.text.ParseException ignore) {}
            try {
                ((SqlParameter)e.getParameter("CONTRACT_ID")).setDefaultValue(-1);
            } catch(java.text.ParseException ignore) {}
//End CONTRACT_PROJECT_CONTRACT Default Values for Select Query (SQL)

//CONTRACT_PROJECT_CONTRACT BeforeBuildSelect Method Tail @2-FCB6E20C
        }
//End CONTRACT_PROJECT_CONTRACT BeforeBuildSelect Method Tail

//CONTRACT_PROJECT_CONTRACT BeforeExecuteSelect Method Head @2-8391D9D6
        public void beforeExecuteSelect(DataObjectEvent e) {
//End CONTRACT_PROJECT_CONTRACT BeforeExecuteSelect Method Head

//CONTRACT_PROJECT_CONTRACT BeforeExecuteSelect Method Tail @2-FCB6E20C
        }
//End CONTRACT_PROJECT_CONTRACT BeforeExecuteSelect Method Tail

//CONTRACT_PROJECT_CONTRACT AfterExecuteSelect Method Head @2-0972E7FA
        public void afterExecuteSelect(DataObjectEvent e) {
//End CONTRACT_PROJECT_CONTRACT AfterExecuteSelect Method Head

//CONTRACT_PROJECT_CONTRACT AfterExecuteSelect Method Tail @2-FCB6E20C
        }
//End CONTRACT_PROJECT_CONTRACT AfterExecuteSelect Method Tail

//CONTRACT_PROJECT_CONTRACT Grid Handler Tail @2-FCB6E20C
    }
//End CONTRACT_PROJECT_CONTRACT Grid Handler Tail

//if_contract_befor_term Grid Handler Head @56-E86981C7
    public class see_contract_status_detailif_contract_befor_termGridHandler implements GridListener, GridDataObjectListener {
//End if_contract_befor_term Grid Handler Head

//if_contract_befor_term BeforeShow Method Head @56-46046458
        public void beforeShow(Event e) {
//End if_contract_befor_term BeforeShow Method Head

//if_contract_befor_term BeforeShow Method Tail @56-FCB6E20C
        }
//End if_contract_befor_term BeforeShow Method Tail

//if_contract_befor_term BeforeShowRow Method Head @56-BDFD38FC
        public void beforeShowRow(Event e) {
//End if_contract_befor_term BeforeShowRow Method Head

//if_contract_befor_term BeforeShowRow Method Tail @56-FCB6E20C
        }
//End if_contract_befor_term BeforeShowRow Method Tail

//if_contract_befor_term BeforeSelect Method Head @56-E5EC9AD3
        public void beforeSelect(Event e) {
//End if_contract_befor_term BeforeSelect Method Head

//if_contract_befor_term BeforeSelect Method Tail @56-FCB6E20C
        }
//End if_contract_befor_term BeforeSelect Method Tail

//if_contract_befor_term BeforeBuildSelect Method Head @56-3041BA14
        public void beforeBuildSelect(DataObjectEvent e) {
//End if_contract_befor_term BeforeBuildSelect Method Head

//if_contract_befor_term Default Values for Select Query (SQL) @56-6852818F
            try {
                ((SqlParameter)e.getParameter("CUSTOMER_ID")).setDefaultValue(-1);
            } catch(java.text.ParseException ignore) {}
            try {
                ((SqlParameter)e.getParameter("CONTRACT_ID")).setDefaultValue(-1);
            } catch(java.text.ParseException ignore) {}
//End if_contract_befor_term Default Values for Select Query (SQL)

//if_contract_befor_term BeforeBuildSelect Method Tail @56-FCB6E20C
        }
//End if_contract_befor_term BeforeBuildSelect Method Tail

//if_contract_befor_term BeforeExecuteSelect Method Head @56-8391D9D6
        public void beforeExecuteSelect(DataObjectEvent e) {
//End if_contract_befor_term BeforeExecuteSelect Method Head

//if_contract_befor_term BeforeExecuteSelect Method Tail @56-FCB6E20C
        }
//End if_contract_befor_term BeforeExecuteSelect Method Tail

//if_contract_befor_term AfterExecuteSelect Method Head @56-0972E7FA
        public void afterExecuteSelect(DataObjectEvent e) {
//End if_contract_befor_term AfterExecuteSelect Method Head

//if_contract_befor_term AfterExecuteSelect Method Tail @56-FCB6E20C
        }
//End if_contract_befor_term AfterExecuteSelect Method Tail

//if_contract_befor_term Grid Handler Tail @56-FCB6E20C
    }
//End if_contract_befor_term Grid Handler Tail

//if_contract_on_rebuild Grid Handler Head @63-A86A3F4C
    public class see_contract_status_detailif_contract_on_rebuildGridHandler implements GridListener, GridDataObjectListener {
//End if_contract_on_rebuild Grid Handler Head

//if_contract_on_rebuild BeforeShow Method Head @63-46046458
        public void beforeShow(Event e) {
//End if_contract_on_rebuild BeforeShow Method Head

//if_contract_on_rebuild BeforeShow Method Tail @63-FCB6E20C
        }
//End if_contract_on_rebuild BeforeShow Method Tail

//if_contract_on_rebuild BeforeShowRow Method Head @63-BDFD38FC
        public void beforeShowRow(Event e) {
//End if_contract_on_rebuild BeforeShowRow Method Head

//if_contract_on_rebuild BeforeShowRow Method Tail @63-FCB6E20C
        }
//End if_contract_on_rebuild BeforeShowRow Method Tail

//if_contract_on_rebuild BeforeSelect Method Head @63-E5EC9AD3
        public void beforeSelect(Event e) {
//End if_contract_on_rebuild BeforeSelect Method Head

//if_contract_on_rebuild BeforeSelect Method Tail @63-FCB6E20C
        }
//End if_contract_on_rebuild BeforeSelect Method Tail

//if_contract_on_rebuild BeforeBuildSelect Method Head @63-3041BA14
        public void beforeBuildSelect(DataObjectEvent e) {
//End if_contract_on_rebuild BeforeBuildSelect Method Head

//if_contract_on_rebuild Default Values for Select Query (SQL) @63-6852818F
            try {
                ((SqlParameter)e.getParameter("CUSTOMER_ID")).setDefaultValue(-1);
            } catch(java.text.ParseException ignore) {}
            try {
                ((SqlParameter)e.getParameter("CONTRACT_ID")).setDefaultValue(-1);
            } catch(java.text.ParseException ignore) {}
//End if_contract_on_rebuild Default Values for Select Query (SQL)

//if_contract_on_rebuild BeforeBuildSelect Method Tail @63-FCB6E20C
        }
//End if_contract_on_rebuild BeforeBuildSelect Method Tail

//if_contract_on_rebuild BeforeExecuteSelect Method Head @63-8391D9D6
        public void beforeExecuteSelect(DataObjectEvent e) {
//End if_contract_on_rebuild BeforeExecuteSelect Method Head

//if_contract_on_rebuild BeforeExecuteSelect Method Tail @63-FCB6E20C
        }
//End if_contract_on_rebuild BeforeExecuteSelect Method Tail

//if_contract_on_rebuild AfterExecuteSelect Method Head @63-0972E7FA
        public void afterExecuteSelect(DataObjectEvent e) {
//End if_contract_on_rebuild AfterExecuteSelect Method Head

//if_contract_on_rebuild AfterExecuteSelect Method Tail @63-FCB6E20C
        }
//End if_contract_on_rebuild AfterExecuteSelect Method Tail

//if_contract_on_rebuild Grid Handler Tail @63-FCB6E20C
    }
//End if_contract_on_rebuild Grid Handler Tail

//Comment workaround @1-A0AAE532
%> <%
//End Comment workaround

//Processing @1-E786C4FD
    Page see_contract_status_detailModel = (Page)request.getAttribute("see_contract_status_detail_page");
    Page see_contract_status_detailParent = (Page)request.getAttribute("see_contract_status_detailParent");
    if (see_contract_status_detailModel == null) {
        PageController see_contract_status_detailCntr = new PageController(request, response, application, "/gharardad/user_part/see_contract_status_detail.xml", "ISO-8859-1" );
        see_contract_status_detailModel = see_contract_status_detailCntr.getPage();
        //if (see_contract_status_detailParent != null) {
            //if (!see_contract_status_detailParent.getChild(see_contract_status_detailModel.getName()).isVisible()) return;
        //}
    ((Grid)see_contract_status_detailModel.getChild("CONTRACT_PROJECT_CONTRACT")).addGridListener(new see_contract_status_detailCONTRACT_PROJECT_CONTRACTGridHandler());
    ((Grid)see_contract_status_detailModel.getChild("if_contract_befor_term")).addGridListener(new see_contract_status_detailif_contract_befor_termGridHandler());
    ((Grid)see_contract_status_detailModel.getChild("if_contract_on_rebuild")).addGridListener(new see_contract_status_detailif_contract_on_rebuildGridHandler());
        see_contract_status_detailCntr.process();
%>
<%
        if (see_contract_status_detailParent == null) {
            if (see_contract_status_detailModel.redirect()) return;
            see_contract_status_detailModel.setCookies();
        } else {
            see_contract_status_detailModel.redirect();
        }
    }
//End Processing

%>
